package 华为.text46_截取字符串;

import java.util.Scanner;

public class Main {
    /*public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String s = scanner.nextLine();
        int k = scanner.nextInt();
        String substring = s.substring(0,k);
        System.out.println(substring);
    }*/

    public static void main(String[] args) {
        String s = new String("dfaifa");
        String substring = s.substring(0, 1);
        System.out.println(substring);
    }
}
